package com.jielin.handling.mapper.record;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jielin.handling.entity.record.RecordAnswer;

public interface RecordAnswerMapper {

	List<RecordAnswer> findAnswerByQuestionId(String questionid);// 根据笔录模板问题id查询笔录模板的答案信息

	int addAnswerByQuestionId(RecordAnswer ra);// 新增答案

	int delByQuestionId(@Param("questionIds") List<String> questionIds);// 根据问题id删除对应的答案信息

	/**
	 * 新增答案
	 * @param raList
	 * @return
	 */
	int addAnswerS(@Param("raList") List<RecordAnswer> raList);
}
